#include "stdio.h"
int Out;
int main()
{
    for(int Number=200;Number<=300;Number+=5)
    {
        if(Number%7==2)
        {
            Out=Out+Number;
        }
    }
    printf("%d",Out);
}
